package ctgu.yao.cloud.service;

import ctgu.yao.cloud.dto.ApplicationVO;
import ctgu.yao.cloud.dto.PageDTO;
import ctgu.yao.cloud.form.SearchForm2;
import ctgu.yao.cloud.po.Application;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Y
 * @since 2022-08-16
 */
public interface ApplicationService extends IService<Application> {
/*    List<ApplicationVO> selectList();*/


    public PageDTO selectList(Integer page,Integer size);

    public PageDTO search(SearchForm2 searchForm2);

    public PageDTO search1(SearchForm2 searchForm2,Integer cuid);

    public PageDTO search2(SearchForm2 searchForm2,Integer rid);

    public PageDTO selectList2(Integer page,Integer size,Integer cuid);

    public PageDTO selectList3(Integer page,Integer size,Integer rid);

    public Boolean update(Application application,Integer rid,Integer reid);

    public Boolean disagree(Integer rid,Integer reid);
}
